:root {
    --primary-color: #4a90e2;
    --success-color: #52c41a;
    --warning-color: #faad14;
    --error-color: #f5222d;
    --text-color: #333;
    --border-radius: 8px;
    --box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.content-wrapper {
    padding: 24px;
    background: #f5f7fa;
    min-height: 100vh;
}

.refund-approval {
    max-width: 1200px;
    margin: 0 auto;
}

.refund-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.refund-item {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 16px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.refund-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.refund-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.refund-id {
    font-weight: 600;
    color: var(--text-color);
}

.refund-type {
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    background: #e6f7ff;
    color: var(--primary-color);
}

.type-quality { background: #e6f7ff; color: #1890ff; }
.type-delivery { background: #f6ffed; color: #52c41a; }
.type-customer { background: #fff7e6; color: #fa8c16; }
.type-merchant { background: #fff1f0; color: #f5222d; }

.status-tag {
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
}

.status-pending { background: #fff7e6; color: #fa8c16; }
.status-firstApproved { background: #e6f7ff; color: #1890ff; }
.status-finalApproved { background: #f6ffed; color: #52c41a; }
.status-rejected { background: #fff1f0; color: #f5222d; }

.refund-details {
    margin: 12px 0;
    color: var(--text-color);
}

.amount {
    font-size: 16px;
    font-weight: 600;
    color: #1890ff;
    margin-bottom: 8px;
}

.reason {
    font-size: 14px;
    color: #666;
}

.approval-chain {
    border-top: 1px solid #f0f0f0;
    margin-top: 12px;
    padding-top: 12px;
}

.approval-record {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    font-size: 12px;
}

.approval-time {
    color: #999;
}

.approver {
    font-weight: 500;
    color: var(--text-color);
}

.approval-result {
    padding: 2px 6px;
    border-radius: 3px;
}

.result-approved { background: #f6ffed; color: #52c41a; }
.result-rejected { background: #fff1f0; color: #f5222d; }

.comment {
    margin-top: 4px;
    color: #666;
    font-style: italic;
}

.action-buttons {
    display: flex;
    gap: 8px;
    margin-top: 16px;
}

.action-button {
    padding: 6px 16px;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.2s;
}

.button-primary {
    background: var(--primary-color);
    color: white;
}

.button-primary:hover {
    background: #357abd;
}

.button-default {
    background: #f5f5f5;
    color: var(--text-color);
    border: 1px solid #d9d9d9;
}

.button-default:hover {
    background: #e6e6e6;
}

.empty-state {
    text-align: center;
    padding: 48px 0;
    color: #999;
}

.empty-state-icon {
    font-size: 48px;
    margin-bottom: 16px;
}